package com.pig4cloud.pig.village.api.app;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * app村务信息汇总展示
 *
 * @author limbray.li
 * @date 2021/7/3
 */
@Data
public class AppCollectDto {
	private List<MainPageItem> top;
	private List<MainPageItem> left;
	private List<MainPageItem> right;
	private List<MainReward> bottom;

	public List<MainPageItem> getTop() {
		if (top == null) {
			top = new ArrayList<>();
		}
		return top;
	}

	public List<MainPageItem> getLeft() {
		if (left == null) {
			left = new ArrayList<>();
		}
		return left;
	}

	public List<MainPageItem> getRight() {
		if (right == null) {
			right = new ArrayList<>();
		}
		return right;
	}

	public List<MainReward> getBottom() {
		if (bottom == null) {
			bottom = new ArrayList<>();
		}
		return bottom;
	}
}
